package com.woniuxy.entity;

import java.util.Date;
import java.util.List;

import lombok.Data;
import lombok.experimental.Accessors;

/*
 *  用户
 */
@Data
@Accessors(chain = true)
public class User {


    private int u_id;        //用户id
    private String account;   //用户名
    private String password;    //密码

    private String number;    //身份证号
    private String phone;    //电话

    private String gender;		//性别
    

    private String email;   //邮箱
    private String head;   //头像
    private int status;   //状态
    private Date regtime;   //注册时间
    
    
    private List<Roles> roles;//一个用户多个权限



    
}



	



